Fix errors downloading data