fix for caching files