Adjust table of contents