fix input events for step