fixed variable naming error.