fix error page formatting