smartinput fix