diff --git a/lib/upnp/control_point/device.rb b/lib/upnp/control_point/device.rb
index <HASH>..<HASH> 100644
--- a/lib/upnp/control_point/device.rb
+++ b/lib/upnp/control_point/device.rb
@@ -255,6 +255,9 @@ module UPnP
 
       def extract_spec_version
         "#{@description[:root][:specVersion][:major]}.#{@description[:root][:specVersion][:minor]}"
+        if @description[:root]
+          "#{@description[:root][:specVersion][:major]}.#{@description[:root][:specVersion][:minor]}"
+        end
       end
 
       def start_service_extraction
Fix for descriptions that don't have specVersion. Relates to gh-5.