when a step line is empty a step is not allowed to be saved