extract_subtag minor fix