fix links to pages