bugfix: events weren't being deleted