fixed mistake in toLowLevel()