remove primary key struct