delete smart_str reference