add and fix headings