fixed error views.