input event,fix #9