goal was referencing the wrong attribute in a foreign key declaration, fixed