minor StringBuilder cleanups