switching top level pages now loads pie properly