fix std::string -> std::basic_string<char, std::char_traits<char>, A> bug