format new lines