fix image cache.