fix node subtree access in last change (use either local variable or attribute, not a mix)