fixed validation bug with last step in scenario