fix branch deploy class