fix duplicate event bug