fix reading uploadTree