Remove spaces in groupid