fixed issue with grid and groupby