fix against incomplete ppm when interrupted