fixing progress bar bug which only occurs in quiet mode