Fixing the page path issues.