clean up some events