correct duplicate log entries