fixed progress bar error