fixed variable name error