fine tune decode method