fix toctree maxdeep