fixing page_template_id inconsistencies