improve smartinput setting