fix a bluetooth plugin bug.