modify ImageCacheDemo