add error pages for production only