fix flight dependencies