Fix error in BluetoothServer