fixed some memcache issues that occur when the system loses the cache.