fix bluetooth bugs