don't assing nullptr to std::string