[RD] modify the check pm's in miniprofile code