Clean up toc with depth