fixed the grids