diff --git a/UI/.idea/misc.xml b/UI/.idea/misc.xml
index 1162f4382..5be062889 100644
--- a/UI/.idea/misc.xml
+++ b/UI/.idea/misc.xml
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
+  <component name="ProjectKey">
+    <option name="state" value="git@github.com:NzbDrone/NzbDrone.git" />
+  </component>
   <component name="ProjectRootManager" version="2" />
 </project>
 
diff --git a/UI/AddSeries/Existing/ImportSeriesView.js b/UI/AddSeries/Existing/ImportSeriesView.js
index 7cb4f5b27..cc77ceb0d 100644
--- a/UI/AddSeries/Existing/ImportSeriesView.js
+++ b/UI/AddSeries/Existing/ImportSeriesView.js
@@ -1,6 +1,6 @@
 'use strict';
 define([
-    'app', 'AddSeries/RootFolders/RootFolderCollection', 'Quality/QualityProfileCollection', 'Shared/NotificationCollection', 'AddSeries/Existing/UnmappedFolderModel', 'AddSeries/SearchResultCollection', 'Series/SeriesModel'], function (app, rootFolders, qualityProfileCollection, notificationCollection) {
+    'app', 'AddSeries/RootFolders/RootFolderCollection', 'Quality/QualityProfileCollection', 'Shared/NotificationCollection', 'AddSeries/Existing/UnmappedFolderModel', 'Series/SeriesModel'], function (app, rootFolders, qualityProfileCollection, notificationCollection) {
 
     NzbDrone.AddSeries.Existing.FolderMatchResultView = Backbone.Marionette.ItemView.extend({
         template: 'AddSeries/SearchResultTemplate',
diff --git a/UI/AddSeries/New/SearchResultView.js b/UI/AddSeries/New/SearchResultView.js
index 16b0011fc..100ea6bb2 100644
--- a/UI/AddSeries/New/SearchResultView.js
+++ b/UI/AddSeries/New/SearchResultView.js
@@ -1,5 +1,5 @@
 'use strict';
-define(['app', 'Shared/NotificationCollection', 'AddSeries/SearchResultCollection', 'AddSeries/SearchResultModel', 'Series/SeriesCollection'], function (app, notificationCollection) {
+define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], function (app, notificationCollection) {
 
     NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({
 
diff --git a/package.json b/package.json
index 954158a42..55b08dec9 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,6 @@
   "readmeFilename": "readme.md",
   "dependencies": {
     "grunt": "*",
-    "grunt-cli": "*",
     "grunt-contrib-uglify": "*",
     "grunt-contrib-handlebars": "*",
     "grunt-contrib-watch": "*",
@@ -25,5 +24,8 @@
     "grunt-contrib-copy": "*",
     "grunt-wrap": "*",
     "grunt-curl": "*"
-  }
+  },
+  "scripts": {
+  "preinstall": "npm install grunt-cli -g"
+}
 }