fix leave group error