fixed group name duplicate error upon going back to original name