diff --git a/spec.html b/spec.html
index 768e7dc..456b256 100644
--- a/spec.html
+++ b/spec.html
@@ -94,9 +94,10 @@
Uint8Array.fromBase64Into ( _string_, _into_ [ , _options_ ] )
1. Let _offset_ be _into_.[[ByteOffset]].
1. Let _index_ be 0.
1. Repeat, while _index_ < _written_,
- 1. Let _byte_ be _bytes_[i].
+ 1. Let _byte_ be _bytes_[_index_].
1. Let _byteIndexInBuffer_ be _index_ + _offset_.
1. Perform SetValueInBuffer(_into_.[[ViewedArrayBuffer]], _byteIndexInBuffer_, ~uint8~, 𝔽(_byte_), *true*, ~unordered~).
+ 1. Set _index_ to _index_ + 1.
1. Let _resultObject_ be OrdinaryObjectCreate(%Object.prototype%).
1. Perform ! CreateDataPropertyOrThrow(_resultObject_, *"read"*, 𝔽(_result_.[[Read]])).
1. Perform ! CreateDataPropertyOrThrow(_resultObject_, *"written"*, 𝔽(_written_)).
@@ -133,9 +134,10 @@ Uint8Array.fromHexInto ( _string_, _into_ )
1. Let _offset_ be _into_.[[ByteOffset]].
1. Let _index_ be 0.
1. Repeat, while _index_ < _written_,
- 1. Let _byte_ be _bytes_[i].
+ 1. Let _byte_ be _bytes_[_index_].
1. Let _byteIndexInBuffer_ be _index_ + _offset_.
1. Perform SetValueInBuffer(_into_.[[ViewedArrayBuffer]], _byteIndexInBuffer_, ~uint8~, 𝔽(_byte_), *true*, ~unordered~).
+ 1. Set _index_ to _index_ + 1.
1. Let _resultObject_ be OrdinaryObjectCreate(%Object.prototype%).
1. Perform ! CreateDataPropertyOrThrow(_resultObject_, *"read"*, 𝔽(_result_.[[Read]])).
1. Perform ! CreateDataPropertyOrThrow(_resultObject_, *"written"*, 𝔽(_written_)).