make send() more lenient