decode: fix regression in previous 2 commits