added PreviousStepInvalidEvent and PreviousStepInvalidEventListener