clean the branch