fix caching for regions