sendmail bug fix