some fixes for previous day download