change to branchCode from branchId