diff --git a/app/components/SimpleEditor/elements/images/InsertImageCommand.js b/app/components/SimpleEditor/elements/images/InsertImageCommand.js
index c2a2f5d0ad2740f07c6b03cd35869ad99d7f5860..f8b874144f55ee0f763441a7c377399109644d51 100644
--- a/app/components/SimpleEditor/elements/images/InsertImageCommand.js
+++ b/app/components/SimpleEditor/elements/images/InsertImageCommand.js
@@ -28,10 +28,10 @@ class ImageCommand extends Command {
     // Return if command is disabled
     if (state.disabled) return
 
-    let documentSession = params.documentSession
+    // let documentSession = params.documentSession
     let sel = params.selection
     let surface = params.surface
-    let fileClient = context.fileClient
+    // let fileClient = context.fileClient
     let files = params.files
 
     // can drop images only into container editors