fixed indexing error

no longer destroys all events when destroying only one