primary key fix in db