fixing grids