Fix toc scraper bug