added check for cache-provider not saved