Correct a mistake in the level conversion