fixed cache issue with leaving groups