removes object attribute