fix remove attribute