fix typo on class for template