make sure to break after recognizing an api tag