progress bar bug fixed