fix error with deleted cache file