fix to sendmail