fix draw message and chatMsg class