Smartinput

fix bugs
11

11