clear input event code