case sensitivity fix in template files