little correction of grid drawing