removing unrelated branches