fixed raster loading for generics