fixed foreign key