remove branches from prior class