remove error keys from flights