remove  surplus \r\n