mod: merge customer's flags and types