caching fix

Fix issue with cache not clearing