fix bug using groupBy