fix bugs on PPSManager
Merge branch 'master' of https://github.com/obs619/thesis