Fix #86

Fix #86

Correct the array offsets of the decoding methods.