fix the broker.conn judge nil