groups: fix create & leave