Fix exception in event clears