clean up of a bad branch