change boost::lexical_cast to cpp [io]stringstream cast