fixed local image caching