Fix a bug with cache.