fixed error on evententry