repair root path