strip out some uneeded error page info