remove flag count