add batch split
tweak output when startText==0