add error badpage to output++