Correct issue with missing new lines