Flag normalization