solved multi-event issues