fix pages routing