Removing dulplicate attributes