fix traceback output