Cleaning up toc