fix pps caused death loop issue
Merge pull request #1335 from lyao2/fixppsbug

fix pps caused death loop issue