correct some syntax errors with toc.