small caching fix