fixed image caching