improve delete branch.