remove sstream