fix bug for Server.message()