fixed variable naming error