diff --git a/package.json b/package.json
index d7c24529f780d0c2042513be3fb03c8b93043178..88250338c54a2c7cd63a52a818b5a523d6432c68 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@hiveio/hive-js",
-  "version": "0.8.11",
+  "version": "0.8.12",
   "description": "Hive.js the JavaScript API for Hive blockchain",
   "main": "lib/index.js",
   "scripts": {
diff --git a/src/api/index.js b/src/api/index.js
index fafe3b02b9543db5449122c77832b6521fb19851..b2e82552fdce45d066bc09c7c52632796ca30d85 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -43,7 +43,7 @@ class Hive extends EventEmitter {
             };
 
             this[methodName] = (...args) => {
-                if (methodName === 'getAccountHistory' && args.length < 5) {
+                if (methodName === 'getAccountHistory' && args.length < 5 && methodParams.length > 4) {
                   methodParams.pop();
                   methodParams.pop();
                 }