fixes toctree