fix custom headings