simplify handling of defined group flag params