adapt to bluez 5.1