fix table of contents overflow