fix to mailer