fixing page routes