Fixed resetting the cache on load