diff --git a/rpc/api/eth.go b/rpc/api/eth.go
index 2bd7e4cdb483fbc17433f562737ef2b016f34aa3..0735754b59cab10f83466cf9155f63e7fe7f1059 100644
--- a/rpc/api/eth.go
+++ b/rpc/api/eth.go
@@ -12,6 +12,7 @@ import (
 	"github.com/ethereum/go-ethereum/rpc/shared"
 	"github.com/ethereum/go-ethereum/xeth"
 	"gopkg.in/fatih/set.v0"
+	"fmt"
 )
 
 const (
@@ -582,7 +583,7 @@ func (self *ethApi) Resend(req *shared.Request) (interface{}, error) {
 func (self *ethApi) PendingTransactions(req *shared.Request) (interface{}, error) {
 	txs := self.ethereum.TxPool().GetTransactions()
 
-	// grab the accounts from the account manager. This will help with determening which
+	// grab the accounts from the account manager. This will help with determining which
 	// transactions should be returned.
 	accounts, err := self.ethereum.AccountManager().Accounts()
 	if err != nil {
diff --git a/rpc/api/eth_args.go b/rpc/api/eth_args.go
index a75fdbdee2f6e5efa10f93b0339b5c781e72aa33..88fc00a6c144cf779784326de1a9cd6a920b869b 100644
--- a/rpc/api/eth_args.go
+++ b/rpc/api/eth_args.go
@@ -917,7 +917,11 @@ func (args *ResendArgs) UnmarshalJSON(b []byte) (err error) {
 	trans := new(tx)
 	err = json.Unmarshal(data, trans)
 	if err != nil {
-		return shared.NewDecodeParamError("Unable to parse transaction object.")
+		return shared.NewDecodeParamError("Unable to parse transaction object")
+	}
+
+	if trans == nil || trans.tx == nil {
+		return shared.NewDecodeParamError("Unable to parse transaction object")
 	}
 
 	gasLimit, gasPrice := trans.GasLimit, trans.GasPrice
@@ -936,6 +940,7 @@ func (args *ResendArgs) UnmarshalJSON(b []byte) (err error) {
 			return shared.NewInvalidTypeError("gasLimit", "not a string")
 		}
 	}
+
 	args.Tx = trans
 	args.GasPrice = gasPrice
 	args.GasLimit = gasLimit