logs error correction