fix typo in template condition
Merge branch 'fix-typo' into template-next