Replace case since it older versions have issues compiling template