fix wrongly image caching