fixed a bug with adb