fix a dwarfs file share bug.