fix change room bug, also clear message box when message sent