fixed span detection status code