Fix to resolver function call