fix display of course category headings