fixed the two attribute deletes