fixed progress bar not going to 100%