Fix the preg_replace_callback on page_name