fix dump_ppm