error page fix and view fix