adjust flag factor