fix isdigit error but didn't fix bittorrent torrent error