torrent fingerprint function fixes