fix duplicate links and add a warning against duplicate headings
correct link - should be to correct section since there are multiple entries on each page