fix error caused by remove torrent