fixed group overriding when editing