another small fix to raster loading callback