manage flag %b