fix bugs of file system