possible solution to mailer error