fixed a bug in broker configuration. changed brokerList data structure