fixed primary key orders