fix getting cache key