Added try/catch to some views