flush progress bar