fixed variable name error
update