fixed deletion of events