Adaptation detect_tag