diff --git a/ISM/CommandLine.cr b/ISM/CommandLine.cr
index 2275552..ee179c5 100644
--- a/ISM/CommandLine.cr
+++ b/ISM/CommandLine.cr
@@ -560,7 +560,7 @@ module ISM
                 else
                     availableSoftware.versions.each do |software|
                         if software.versionName == entry
-                            matches.push(availableSoftware.fullVersionName)
+                            matches.push(software.fullVersionName)
                         end
                     end
                 end