adjust grids