Fix bug in sms_send().