[Yaml] fixed unneeded BC break