fixed issue with set_qrtr and branches