Fixed error in view.ctp