fixed that fucking part with the root node