fixed bug in cache file exchange