fixing error in variable name