fix the cache problem