fix download errors