remove duplicate attr