fix routes for static pages