fix silly major bug
use Torrent class instead of hash