fixed msp bug