fixed sequence point error in ppm code