Fix function problem.