restructure root