poke max message length bug fix