fixed https://github.com/bbkr/jsonrpc/issues/8