toc cleanup