solve the server reply multiple mesgs problem