Fixed bluetooth code (commit from Eric Singer)