fixed rejoining groups bug