fixed typo with template