fix old varname
scripted update of code from master at abb3553 fix old varname