cleaning, confirming branches are okay