Fixed a problem to connect to a BT device