refix add group crash bug