replace TString with std::stringstream