Remove the last new line