Fixed the cache saving bug....I hope for good