fix basic_string constructor