fix link to pages