fix node order