fix branch identify issue