refacter contact searchgroups