- fixed some pid's value may crashed by assert