remove error from toctree