adding MailChimp class checks to avoid errors