Fix class estimate problem.