Fix duplicated "to" in template.