fixed std::stringstream call