up_repo: fix progress bar.