Fix bug causing takeoff on connect