fixed undefined bug in comBroker