fixed error correction