fix server of rpc bug