templates_fix