Fixed extra-tag bug in YAML