improve stack traces