fixed wrong local variable name.