fixed the cache config stuff