raster cleanup