refine error page logic, few minor styling adjustements