Fix error in the page_id helper