Fix troubles with FK