fix headings and capitalization