remove branch: we know the part between brackets is a branch