Fixed decoding buf