fix regression of yaml headers.