fixed event log to prevent partial message