final raster stuff cleanup