fix a little bug in Chu-Liu-Edmonds