replaced boost::lexical_cast with std::to_string