standardise template variable name for more portability