  ////////////////////////////////////////////////////////////////////////////////
  
 diff --git a/arangod/V8Server/v8-vocbase.cpp b/arangod/V8Server/v8-vocbase.cpp
-index 9bd6923..2f25c90 100755
+index 9bd6923..7fa8afb 100755
 --- a/arangod/V8Server/v8-vocbase.cpp
 +++ b/arangod/V8Server/v8-vocbase.cpp
-@@ -119,6 +119,65 @@ static int32_t const WRP_SHAPED_JSON_TYPE = 4;
+@@ -48,6 +48,7 @@
+ #include "VocBase/general-cursor.h"
+ #include "VocBase/simple-collection.h"
+ #include "VocBase/voc-shaper.h"
++#include "Logger/Logger.h"
+ 
+ using namespace std;
+ using namespace triagens::basics;
+@@ -119,6 +120,71 @@ static int32_t const WRP_SHAPED_JSON_TYPE = 4;
  ////////////////////////////////////////////////////////////////////////////////
  
  // -----------------------------------------------------------------------------

     TRI_EndUsageDataShadowData(vocbase->_cursors, cursor);
     return scope.Close(v8::Number::New(length));
   }
@@ -1666,6 +1723,32 @@ static v8::Handle<v8::Value> JS_HasNextGeneralCursor (v8::Arguments const& argv)
 }
 
 ////////////////////////////////////////////////////////////////////////////////

 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -1365,7 +1436,7 @@ static v8::Handle<v8::Value> JS_CountGeneralCursor (v8::Arguments const& argv) {
   cursor = (TRI_general_cursor_t*) TRI_BeginUsageDataShadowData(vocbase->_cursors, UnwrapGeneralCursor(argv.Holder()));
 
   if (cursor) {
