publish message size fix