Fix closure problem.