trigger events fix