fix display of 404 errors