diff --git a/lib/xrds.js b/lib/xrds.js
index <HASH>..<HASH> 100644
--- a/lib/xrds.js
+++ b/lib/xrds.js
@@ -29,7 +29,7 @@
 exports.parse  = function(data)
 {
   data = data.replace(/\r|\n/g, '');
-  services = [];
+  var services = [];
   var serviceMatches = data.match(/<Service\s*(priority="\d+")?\s*?>(.*?)<\/Service>/g);
 
   if(!serviceMatches)
Update lib/xrds.js

fixed issue #<I>