for pages, id renamed to page
process variables