fix getblockhash rpc call