fixed the way of assuring a self event will not be executed