error log correction