Remove tailing newline