fix state_event_input