Fixed variable name error