setting page instance to the first page