fix loader and mailer