improve message buffer design.
improve message buffer design.