fix root len