diff --git a/rpc/api.go b/rpc/api.go
index 78e464c99041dca19cae51c56f451ff1c698ecee..05c264b6f2be330aa0373d6164a03ec8d8611f77 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -99,7 +99,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
 		state := api.xethAtStateNum(args.BlockNumber).State().SafeGet(args.Address)
 		value := state.StorageString(args.Key)
 
-		*reply = common.Bytes2Hex(value.Bytes())
+		*reply = common.ToHex(value.Bytes())
 	case "eth_getTransactionCount":
 		args := new(GetTxCountArgs)
 		if err := json.Unmarshal(req.Params, &args); err != nil {