branch at the correct position (avoid broken slug)