refine 404/500 error handling pages
refine static page rendering