small fix for grids