Correction logic read and write