Fix name errors in FlightAgent