fix grids