fix local_fs errors