steps: passing a more clear error essage when heading text is missing