fix cache.Cache is an interface