Revert "correct programmatic new node creation #3307"

This reverts commit a7a8a97db4c9f37475cb182de11ffecf6be6cf4e.