fixed broker ex code for new qp