modify decoding