fix bug in contest mailer