Remove the last newline