cleaning out the branch