fix ppm when only pgm exist