add empty cache key protection