BUGFIX: forgotten code about option "write-yml"