fix fonts and main box width on error pages