fix progressbar error during verbose mode