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

		@find name, (err, row) =>
			if err then cb err, row
			if row
				app = new App row
				process.chdir app.path
				option = '--save'
				if not not opt

		@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
