minor cleanup (use StringBuilder better)