bug fix of cache key