preserving flag colors