fix create path for root node