error correction in structure