Fix model in template.