small change to fix char input.