fixed a spelling mistake in a variable name