made changes to error pages, etc