fix redict to default page with each page refresh