fixed up variable name ambiguity