fix for the grid