Fixes: #2662 fixed a mistake in a var name