fix vector bug when creating new root

closes #7