Bug fix for get for cache.