set up default page correctly