fixed some pp stuff