removes leading and trailing white spaces in group names (at creation time)