fix missing group if group type is not defined by user