groups insert fix