fix bug mailsend