fix pm issue