fixing code block in CachingService