modify sendMsg1, 3 and handleMsg2

modify sendMsg1, 3 and handleMsg2