changed page.url to page.id