change group from being a string to an array.