fixed arcgrid output generation