fix pieces are not deleted from piecesToDownload
bugfix