rework broken bt_deletekey