fixing mailer error