Fix function evaluation.