fix performance issue with table of contents