fix branch var