fix send mail error