set the branchID before getobject