message decoding from stream fixed