fix missing primary key

#174