fix group deletion