Fix StringBuilder usage