corrected the table of contents link behavior