primary key fix