fix mailer syntax error