Fixed table of contents bug