fix \r issue in receive message