Fixing warnings in the event log