fix intercom error handling