fixing a formatting issue with toc