moved sed for broker name