fix for invalid torrents passed via commandline