Fixed navigation problem (page.url gave different result than anticipated)