fix bug for drone