Fixed issue with @toc not being created