leave event
stupid amend fix