Fixes rootnode first time insert