workaround for ImageProvider