Fix oscillation problem.