fix gridsize