unify flags