Fixing context reference error in page_url