ignore bad input character