better message for invalid entries in listOfSteps