replace ostringstream with std::string
replace ostringstream with std::string