tweak for better stack traces