fixed reverse order of attempting nodes, bug fixes.