 		@find name, (err, row) =>
 			if err then cb err, row
 			if row
-				app = new App row
+				app = new @ row
 				utils.uninstallApi api, app, (error, stdout, stderr) ->
 					cb error, app
 

		@find name, (err, row) =>
			if err then cb err, row
			else if row
				app = new App row
				apis = []
				file = app.file '/api/controllers'
				ctrls = utils.fs.readdirSync file

		@find name, (err, row) =>
			if err then cb err, row
			else if row
				app = new @ row
				remove = =>
					@::db.run @::query.REMOVE, app.name, (err, success) =>
						if not err
