Remove repeated newline