fixed discard bug
infoHash can be a hex string