fixed mistake in bet converting method