fixed error in event file