problem:char taking more than one value