Hotfix to handle different toc parts