fixed duplicate primary key name