fix wrong intend in view.coffee