fix why cant save the groups