correct getter for height and width of grids