Fixing issue with displaying flags.