Fixed a bug with caching.