fix the continue bug.