fix: cache implementation.