Fixing PPM end of file