Fixing drone takeoff errors