fix some progress bar issue