working removing attributes