fix message mailer issue