fixing links around wrong page.