Fixed inconsistent checkpoint file