changing the flag printing format