fixing some toc stuff