fixed mailer problem