working with image resizing caching bug