diff --git a/inventory_provider/routes/default.py b/inventory_provider/routes/default.py
index f65d6124835c09f70459f9d2defe01a36e23dbd6..b4f7da6a333f4647057c1e1f841d3e96141f9b6f 100644
--- a/inventory_provider/routes/default.py
+++ b/inventory_provider/routes/default.py
@@ -1,3 +1,6 @@
+import csv
+import os
+
 import pkg_resources
 
 from flask import Blueprint, jsonify, current_app
@@ -64,7 +67,7 @@ def version():
     version_params = {
         'api': API_VERSION,
         'module':
-            pkg_resources.get_distribution('inventory_provider').version
+            pkg_resources.get_distribution('inventory_provider_ims').version
     }
     latch = get_latch(get_current_redis(config))
     if latch: