fixed the loading of the default page