fix bug of std::stod