Fix legacy problem.