fixes eventobject destroy object