fixed some PPM stuff