change event trigger env
optimize to use global standard events