modify send ok flag