fixed image caching bug. now works again