fix multiple fk case