fixing detaching on events