fixed bug when a page is access that does not have a navigation page0