Remove the trailing \n