corrects variable name to $page_id