fix foreign key!