a better clearinput