replace triple new lines