fix check point bug