rewrite serv by zmq