remove event from open event after EndEvent