fix download counter