fix issue for file tree sync