Fixed some typos in template files