change variable name in template