fixed handling of spaces in headings