Fixed some bugs for the bluetooth network question