- remove unneeded code
- provide error message via standard error page