Fix adding events