fix grids on index