SMStateMachine 1.0.1 fix