fix issue in MailerBase