Fixed creation of group names with spaces