added formatting to error page