flags are now correctly shown