address review related issue: undo StringBuilder usage refactoring