Fix tracking for downloads