Remove the newline "\n" of end.