fixed cache file bug.