fix links to pages from index