prevent deletion of self branch