fixing dependency loop in toctree