fixed variable naming mistake