fix for mailer