Fixed FK creation