fixing typo in template selection