add error page for prod mode