fix not sending the payload offset when decoding