Fix Write-out