added deleting of events (simpleflat)