Fixed defdrone bugs