fix download to track with upstream api change