Remove duplicated attributes