minor changes to textnode