Fixing brokerexchange.java