Fix decoding.