fix cache_files