Fix bug in get message.
Change post message method