Fix the mistake in variables change