fix for crash when broadcasting error(exception)