remove newline character