repair the links on the index page