caching, lifetime fix