diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -37,7 +37,7 @@ function getClientSettings(options){
         var parts = req.path.split('/');
         var meta = {
             host : req.protocol + '//' + req.hostname + ':' + req.port,
-            index : index,
+            index : options.index,
             type :  parts[2] || '',
             response : status,
             queryString : parts[parts.length-1],
fx undefined index in dev mode