Fixed EventLog issue