fixed bug in pp
Merge pull request #560 from nZEDb/dev

fixed bug in pp