double validate for groups