adding events fix