fixed uncaught exception handling
improved trace path filtering