local variable name was corrected