remove input state