fix template of mailer