Moved NEXTNODE to the correct spot.