fixed yaml generation