fixing file cache problem