fix bug that when receiving massage from others, input box will be clean