Fix uninitialized toc variable