fixed uncaught exception reporting (env fixed)