clearing input instead of button