don't try to get slot of an NULL attribute name