fix numbered list and headings