duplicate bug when editing group fixed