change boost::uint8_t to std uint8_t and etc