Repair missing new lines