add page_ref plugin