Fixed missing checkpoint statement