update style
close #2: show output string length