fixed issue with image caching. clean will now clear the cache