pm: minor changes on pm2.c