replace instances of `grid` with `grids`