changed EndSymbol
use rune buffer instead of string buffer