Fixed flag chars being displayed twice