debug contact group deletion code