fixed mailer issue