Fixed bug in table of contents