 		@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
 

	###
	@live: (cb) ->
		@::db.serialize =>
			@::db.all @::query.LIVE, (err, rows) ->
				if cb and rows
					apps = []
					apps.push new App row for row in rows
					cb err, apps
				else if cb and not rows
					cb err, null


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