fixed lookup by field value function