deleting attributes working