fixed bug occurring when there aren't steps in a scenario