fmt
fix case where PK != 'id'