Fix output lines