fixed traceback logging