read error correction solution