FIX: flag count displayed at wrong position