fixed traceback on duplicate torrent addition