Fixed rpc validation.