fix delete of downloaded packages