rpc
complete rpc and fix is_over