diff --git a/lib/authhelper.js b/lib/authhelper.js
index <HASH>..<HASH> 100644
--- a/lib/authhelper.js
+++ b/lib/authhelper.js
@@ -64,7 +64,7 @@ var AuthHelper = function (config) {
     }
 
     function appendQueryParamToUrl(url, key, value) {
-        if (url.indexOf('?' > -1)) {
+        if (url.indexOf('?') !== -1) {
             url = url + '&';
         } else {
             url = url + '?';
diff --git a/lib/escher.js b/lib/escher.js
index <HASH>..<HASH> 100644
--- a/lib/escher.js
+++ b/lib/escher.js
@@ -97,7 +97,7 @@ var Escher = function (configToMerge) {
         } else {
             requestDate = getHeader(headers, config.dateHeaderName);
             parsedAuthParts = new AuthHelper(config).parseAuthHeader(getHeader(headers, config.authHeaderName), requestDate, keyDB);
-            requestBody = request.body;
+            requestBody = request.body || '';
             timeWindow = config.clockSkewInMilliSec;
         }
[SUITEDEV-<I>] fix empty body and question mark position check's bug