Corrects ADB functions