Major logic error correction