fix smartinput rule