fixes msm-pm.c