fix code in headings