fix jsonrpc version compare