Adds missing newlines