fix for max in flight