added views for error