bug fix in regrid_lonlat()