Do the values in "aesoc" match the case in your attrmap data set?