clean event context