fix progress bar so that it shows download progress.