fixed yaml conversion