correct duped variable name in same scope.