fixed what seemed to be an incorrect variable name