fix resolve by FK