set rootpath