remove duplicate primary key