Correcting the grid.