trying to fix empty send bug