corrected typo that had two primary keys in one table