Fix group parsing bug