no i didn't put it there it happen when i copy then pasted the code but it is cool.
No it's not cool, it hampers what you are trying to do.
That code only reads one byte so it is no supprise it does that.
Will there always be three x digits or could there be less? If so you need a terminator, something to show the number has finished being sent.