fixed bug that allowed creation of multiple groups with same name