problem:char taking more than one value

Have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

...R