minor fix for send.py