Fix bluetooth connect bug