add server to client result funtion, but no run good.