Fixed memory leak with caching