fix regression caused by case insensitivity
Merge pull request #42 from michelsalib/fix-template-regression

fix regression caused by case insensitivity