log correction