Fix flag count to 1