fix keyboard interrupt traceback