fixed index bug on stringbuilder, ooops!