swapped flags