fix bug in contact mailer