Spelling correction in template