Fix: Access the child node with "childIndex". Replace "charIndex" with "childIndex".