fixed memory references of decoded result