fix bluetooth bug