fix glitch in decoder